Telegram Group & Telegram Channel
😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик



tg-me.com/cppproglib/5721
Create:
Last Update:

😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5721

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

Among the actives, Ascendas REIT sank 0.64 percent, while CapitaLand Integrated Commercial Trust plummeted 1.42 percent, City Developments plunged 1.12 percent, Dairy Farm International tumbled 0.86 percent, DBS Group skidded 0.68 percent, Genting Singapore retreated 0.67 percent, Hongkong Land climbed 1.30 percent, Mapletree Commercial Trust lost 0.47 percent, Mapletree Logistics Trust tanked 0.95 percent, Oversea-Chinese Banking Corporation dropped 0.61 percent, SATS rose 0.24 percent, SembCorp Industries shed 0.54 percent, Singapore Airlines surrendered 0.79 percent, Singapore Exchange slid 0.30 percent, Singapore Press Holdings declined 1.03 percent, Singapore Technologies Engineering dipped 0.26 percent, SingTel advanced 0.81 percent, United Overseas Bank fell 0.39 percent, Wilmar International eased 0.24 percent, Yangzijiang Shipbuilding jumped 1.42 percent and Keppel Corp, Thai Beverage, CapitaLand and Comfort DelGro were unchanged.

How to Invest in Bitcoin?

Like a stock, you can buy and hold Bitcoin as an investment. You can even now do so in special retirement accounts called Bitcoin IRAs. No matter where you choose to hold your Bitcoin, people’s philosophies on how to invest it vary: Some buy and hold long term, some buy and aim to sell after a price rally, and others bet on its price decreasing. Bitcoin’s price over time has experienced big price swings, going as low as $5,165 and as high as $28,990 in 2020 alone. “I think in some places, people might be using Bitcoin to pay for things, but the truth is that it’s an asset that looks like it’s going to be increasing in value relatively quickly for some time,” Marquez says. “So why would you sell something that’s going to be worth so much more next year than it is today? The majority of people that hold it are long-term investors.”

Библиотека C C разработчика | cpp boost qt from us


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA